package com.itsome.pojo;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.itsome.annotation.FieldAnnotation;
import lombok.Data;

/**
 * 组织信息和基础信息
 *
 * @author itsome on 2021-01-10 14:52:50
 */
@Data
public class StaffExcel {

    /**
     * 用户账号ID
     */
    @ExcelIgnore
    private String userId;

    @FieldAnnotation(required = true, value = "行政组织")
    @ExcelProperty(index = 0, value = "行政组织")
    private String orgId;

    @FieldAnnotation(required = true, value = "BU业绩组织")
    @ExcelProperty(index = 1, value = "BU业绩组织")
    private String buOrgId;

    @FieldAnnotation(required = true, value = "姓名")
    @ExcelProperty(index = 2, value = "姓名")
    private String name;

    @FieldAnnotation(required = true, value = "性别")
    @ExcelProperty(index = 3, value = "性别")
    private String sexual;

    @FieldAnnotation(required = true, value = "身份证")
    @ExcelProperty(index = 4, value = "身份证")
    private String idCardNo;

    @FieldAnnotation(required = true, value = "电话")
    @ExcelProperty(index = 5, value = "电话")
    private String mobile;

    @FieldAnnotation(required = true, value = "邮箱")
    @ExcelProperty(index = 6, value = "邮箱")
    private String email;

    @FieldAnnotation(required = true, value = "籍贯")
    @ExcelProperty(index = 7, value = "籍贯")
    private String native_;

    @FieldAnnotation(required = true, value = "民族")
    @ExcelProperty(index = 8, value = "民族")
    private String nation;

    @FieldAnnotation(required = true, value = "政治面貌")
    @ExcelProperty(index = 9, value = "政治面貌")
    private String politicalStatus;

    @FieldAnnotation(required = true, value = "用工性质")
    @ExcelProperty(index = 10, value = "用工性质")
    private String emType;

    @FieldAnnotation(required = true, value = "归属单位名称")
    @ExcelProperty(index = 11, value = "归属单位名称")
    private String corpName;

    @FieldAnnotation(required = true, value = "归属单位编码")
    @ExcelProperty(index = 12, value = "归属单位编码")
    private String corpNo;

    @FieldAnnotation(required = true, value = "职级")
    @ExcelProperty(index = 13, value = "职级")
    private String grade;

    @FieldAnnotation(required = true, value = "全日制最高学历")
    @ExcelProperty(index = 14, value = "全日制最高学历")
    private String fullTimeEdu;

    @FieldAnnotation(required = true, value = "在职最高学历")
    @ExcelProperty(index = 15, value = "在职最高学历")
    private String partTimeEdu;

    @FieldAnnotation(required = true, value = "应届大学生")
    @ExcelProperty(index = 16, value = "应届大学生")
    private String newGraduates;

    @FieldAnnotation(required = true, value = "入职时间")
    @ExcelProperty(index = 17, value = "入职时间")
    private String inDate;

    @FieldAnnotation(required = true, value = "试用期结束时间")
    @ExcelProperty(index = 18, value = "试用期结束时间")
    private String regularDate;

    @ExcelProperty(index = 19, value = "离职时间")
    private String departureDate;

    @FieldAnnotation(required = true, value = "是否转正")
    @ExcelProperty(index = 20, value = "是否转正")
    private String isRegular;

    @FieldAnnotation(required = true, value = "在职状态")
    @ExcelProperty(index = 21, value = "在职状态")
    private String jobStatus;
}
